package com.diandi.signature.utils;


import com.diandi.signature.properties.FddProperties;
import com.diandi.signature.url.DateUtil;

import java.util.HashMap;
import java.util.Map;

/**
 * 签章通道基础参数
 * @author mwz
 * @create 2017-08-23 14:03
 * @version V1.0.0
 */
public class SignatureBaseParams {

    

    public static Map<String,String> getFddBaseParams( FddProperties fddProperties){
        Map<String,String> resultMap = new HashMap<String,String>();
        resultMap.put("app_id",fddProperties.getApiId() );
        resultMap.put("timestamp", DateUtil.getNumberDateTime());
        resultMap.put("v", "2.0");

        /*resultMap.put("sign_version",sinaProperties.getSignVersion());
        resultMap.put("encrypt_version",sinaProperties.getEncryptVersion());*/
        return resultMap;
    }
}
